//
//  SourceEditor.h
//  iCodeMac
//
//  Created by Andrew Barry on 27/02/09.
//  Copyright 2009 Barry Computer Services. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class AppModule;

@interface SourceEditor : NSObject {
//	AppModule *ownerModule;
	IBOutlet NSWindow *window;
	IBOutlet NSTextView *textview;
}
-(id) initWithModule: (AppModule *) module;
-(void)show;
-(NSString *) text;
-(void) setText: (NSString *) text;
//-(void) runtimeErrorMessage: (NSString *) message withReport: (JSErrorReport *) report;
@end
